import request from "@/utils/request";

export function login(data) {
  return request({
    url: "/login",
    method: "post",
    data,
  });
}

export function getImageCode(params) {
  return request({
    url: "/captcha",
    params,
    responseType: "blob",
  });
}
